import App from './App'
import uView from "uview-ui";
import store from './store/index';
import XEUtils from '@/plugins/xe-utils'
import snowy from '@/plugins/snowy'

Vue.use(uView);

Vue.prototype.$appImageUrl = 'https://www.31gps.net/xcximage/'; //测试线 
Vue.prototype.$snowy = snowy
Vue.prototype.$xeu = XEUtils

uni.$snowy = snowy
uni.$xeu = XEUtils
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
	store,
    app
  }
}
// #endif